from fastapi import FastAPI

from routers.user import user

app = FastAPI()

app.include_router(user)

def run_fast():
    import uvicorn

    # uvicorn.run(app, host=host, port=8000)
    uvicorn.run(app, log_level="error", port=8000 ,timeout_keep_alive=60)
    # uvicorn.run(app, host=host["ip"], port=host["port"], log_level="error", timeout_keep_alive=60)